<?php

namespace App\Models;

/**
 * App\Models\IndexSearchCollect
 *
 * @property int $id 自增长ID
 * @property string $collect_id 收藏记录id
 * @property string $user_id 用户ID
 * @property string $search_title 笔记或文章的标题
 * @property int $is_deleted 0正常，1删除
 * @property \Illuminate\Support\Carbon $created_at 创建时间戳
 * @property \Illuminate\Support\Carbon $updated_at 更新时间戳
 * @method static \Illuminate\Database\Eloquent\Builder|IndexSearchCollect newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|IndexSearchCollect newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|IndexSearchCollect query()
 */
class IndexSearchCollect extends BaseModel
{

    protected $table = "index_search_collect";
    protected $primaryKey = "collect_id";
    protected $keyType = "string";
    public $timestamps = true;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [];

    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = [];

    /**
     * select columns
     * @var array
     */
    public $fields = [];

}
